﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Veracruz.DataContracts
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract(Name="UserMatch", Namespace=Namespaces.DataContract)]
    public class UserMatch
    {
        [DataMember(Name = "Name", Order = 0, IsRequired = true)]
        public string Name { get; set; }
        [DataMember(Name = "ProviderKey", Order = 1, IsRequired = false, EmitDefaultValue = false)]
        public string ProviderKey { get; set; }
        [DataMember(Name = "Email", Order = 2, IsRequired = true)]
        public string Email { get; set; }
        [DataMember(Name = "IsApproved", Order = 3, IsRequired = true)]
        public bool IsApproved { get; set; }
        [DataMember(Name = "IsLockedOut", Order = 4, IsRequired = true)]
        public bool IsLockedOut { get; set; }
        [DataMember(Name = "CreationDate", Order = 5, IsRequired = true)]
        public DateTime CreationDate { get; set; }
        [DataMember(Name = "LastLoginDate", Order = 6, IsRequired = true)]
        public DateTime LastLoginDate { get; set; }
        [DataMember(Name = "LastActivityDate", Order = 7, IsRequired = true)]
        public DateTime LastActivityDate { get; set; }
        [DataMember(Name = "LastPasswordChangeDate", Order = 8, IsRequired = true)]
        public DateTime LastPasswordChangeDate { get; set; }
        [DataMember(Name = "LastLockoutDate", Order = 9, IsRequired = true)]
        public DateTime LastLockoutDate { get; set; }
    }
}
